package com.example.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.education.Bean.ForeignCollegeInfo;
import com.example.education.Bean.StudentInfo;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 姚
 * @since 2023-03-27
 */
public interface ForeignCollegeInfoService extends IService<ForeignCollegeInfo> {


    //增
    int insert(ForeignCollegeInfo foreignCollegeInfo);

    //删
    int delete(Integer uid);

    //改
    int update(ForeignCollegeInfo foreignCollegeInfo);

    //查
    ForeignCollegeInfo select(String username);

    public ArrayList<ForeignCollegeInfo> selectByLocation(String location);

    //根据传来的平均分数查询学校
    ArrayList<ForeignCollegeInfo> selectByAverageScore(StudentInfo studentInfo);
}
